package xing.design.pattern.create.adapter;

/**
 * @author xing
 * @date 2023/2/8 0:17:40
 */
public class Main {
    public static void main(String[] args) {
        B b = new BImpl();
        AAdapter aAdapter = new AAdapter(b);
        aAdapter.showA();


        A a = Bs.asA(b);
        a.showA();

        // 参考 Arrays.asList(T... a)
    }
}
